package com.xiaode.controller.app.trajectory;

import com.jfinal.aop.Inject;
import com.jfinal.core.Controller;
import com.jfinal.core.Path;
import com.jfinal.ext.cors.EnableCORS;
import com.jfinal.kit.Ret;
import com.xiaode.util.apidoc.annotation.Api;
import com.xiaode.util.apidoc.annotation.ApiOper;
import com.xiaode.util.apidoc.annotation.ApiPara;
import javax.validation.constraints.Size;

@Path("/trajectory")
@Api("轨迹模块")
@EnableCORS
public class TrajectoryController extends Controller {
	
    @Inject
    TrajectoryService service;


    @ApiOper("查询学生轨迹")
    public void findTrajectoryList(@Size @ApiPara(value = "accountId", notes = "学生账号id") Integer accountId) throws Exception {
        Ret ret = service.findTrajectoryList(accountId);
        renderJson(ret);
    }
    


}
